﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace  LINQToolKit.Douban.Entities
{
    public class Subject : EntityBase
    {
        private const string IMAGE_KEY = "image";
        private const string COLLECTION_KEY = "collection";

        public IEnumerable<string> Authors { get; set; }
        public Rating Rating { get; set; }
        public AssociationSet<Review> Reviews { get; set; }

        public string Collection
        {
            get { return base.GetLink(COLLECTION_KEY); }
        }

        public string Image
        {
            get { return base.GetLink(IMAGE_KEY); }
        }
    }
}
